import config from '../config/config'

import axios from 'axios';


axios.defaults.baseURL =  config.baseUrl


axios.defaults.withCredentials = true


// 全局响应拦截器
axios.interceptors.response.use((response) => {
  return response.data
})

export default axios